package com.tongfusoft.base.data.tsm;

import java.util.Date;

import com.tongfusoft.web.core.annotation.LogDesc;
import com.tongfusoft.web.core.data.BaseData;

@LogDesc(expression="crewName",value="船员信息")
public class TsmCrew extends BaseData {  
    /** 
	船员编号 
	*/  
	private String crewId;  
	/** 
	船员代码 
	*/  
	private String crewCode;  
	/** 
	姓名 
	*/  
	private String crewName;  
	/** 
	职称[0:船长,1:大副,2:二副,3:三副] 
	*/  
	private String crewTitles;  
	/** 
	船员证号 
	*/  
	private String crewLicense;  
	/** 
	所属船舶 
	*/  
	private String shippingId;  
	/** 
	生日 
	*/  
	private Date birthday;  
	/** 
	籍贯 
	*/  
	private String hometown;  
	/** 
	手机号 
	*/  
	private String mobilephone;  
	/** 
	电话 
	*/  
	private String phone;  
	/** 
	地址 
	*/  
	private String address;  
	/** 
	在船状态[0:不在船1:在船] 
	*/  
	private String isOnjob;  
	/** 
	状态[0:无效,1:有效] 
	*/  
	private String status;  
  
    @Override  
    public String getPkName() {  
        return "crewId";  
    }  
      
    @Override  
    public String getTableName(){  
        return "TSM_CREW";  
    }
    
	public String getCrewId() {
		return crewId;
	}

	public void setCrewId(String crewId) {
		this.crewId = crewId;
	}

	public String getCrewCode() {
		return crewCode;
	}

	public void setCrewCode(String crewCode) {
		this.crewCode = crewCode;
	}

	public String getCrewName() {
		return crewName;
	}

	public void setCrewName(String crewName) {
		this.crewName = crewName;
	}

	public String getCrewTitles() {
		return crewTitles;
	}

	public void setCrewTitles(String crewTitles) {
		this.crewTitles = crewTitles;
	}

	public String getCrewLicense() {
		return crewLicense;
	}

	public void setCrewLicense(String crewLicense) {
		this.crewLicense = crewLicense;
	}

	public String getShippingId() {
		return shippingId;
	}

	public void setShippingId(String shippingId) {
		this.shippingId = shippingId;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getHometown() {
		return hometown;
	}

	public void setHometown(String hometown) {
		this.hometown = hometown;
	}

	public String getMobilephone() {
		return mobilephone;
	}

	public void setMobilephone(String mobilephone) {
		this.mobilephone = mobilephone;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getIsOnjob() {
		return isOnjob;
	}

	public void setIsOnjob(String isOnjob) {
		this.isOnjob = isOnjob;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
}